name_list =['张三','李四','王五','张三']

num_list = [ 2 , 4 , 3 , 5]

# 升序，sort按ASCII码排序
name_list.sort()
num_list.sort()
print(name_list)
print(num_list)
# 降序
name_list.sort(reverse=True)
num_list.sort(reverse=True)
print(name_list)
print(num_list)

# 反转
name_list.reverse()
num_list.reverse()
print(name_list)
print(num_list)


